package com.by.wx.entity;

import java.io.Serializable;
import java.util.Date;

import org.springframework.util.StringUtils;

public class HiResult implements Serializable {

	private static final long serialVersionUID = -2124260841667554159L;

	private String roomNumber;
	private String floor;
	private String roomSize;
	private Integer count;
	private Date begin;
	private Date end;

	public String getRoomNumber() {
		return roomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		this.roomNumber = roomNumber;
	}

	public String getFloor() {
		return floor;
	}

	public void setFloor(String floor) {
		this.floor = floor;
	}

	public String getRoomSize() {
		return roomSize;
	}

	public void setRoomSize(String roomSize) {
		this.roomSize = roomSize;
	}

	public Integer getCount() {
		if (StringUtils.isEmpty(this.count)) {
			this.count = 0;
		}
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Date getBegin() {
		return begin;
	}

	public void setBegin(Date begin) {
		this.begin = begin;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

}
